package com.kk.xhr.admin.controller.vo;

import com.kk.xhr.common.pojo.ApplyStatusEnum;
import com.kk.xhr.common.pojo.ComplementSignTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 补签vo
 *
 * @author luokexiong
 * @version 1.0 2021/2/18
 * @since 1.0.0
 */
@ApiModel
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ComplementSignVO {
    @ApiModelProperty(value = "id", example = "1")
    private Long id;
    @ApiModelProperty(value = "name", example = "小李子")
    private String name;
    @ApiModelProperty(value = "审批人", example = "大李子")
    private String reviewer;
    @ApiModelProperty(value = "开始时间", example = "2021-1-15 12:12:12")
    private LocalDateTime begin;
    @ApiModelProperty(value = "结束时间", example = "2025-1-15 12:12:12")
    private LocalDateTime end;
    @ApiModelProperty(value = "时长", example = "8.0")
    private Float duration;
    @ApiModelProperty(value = "补签类型", example = "LATE")
    private ComplementSignTypeEnum type;
    @ApiModelProperty(value = "文件路径", example = "url://xxx")
    private String fileUrl;
    @ApiModelProperty(value = "申请状态", example = "APPLYING")
    private ApplyStatusEnum status;
}
